package com.java.collection;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;


public class ListCopyTest {

	public static void main(String[] args) {

		List<String> l1 = new ArrayList<String>();
		List<String> l2 = new ArrayList<String>();
		for(int i=0;i<10;i++){
			l1.add("a");
			l2.add("b");
		}
		
		Collections.copy(l2, l1);
		for(int i=0;i<10;i++){
			System.out.println(l2.get(i));
		}
	}

}
